import yaml


def analyze_data(file_name, func_name):
    with open("./data/%s.yaml" % file_name, "r") as f:
        content = yaml.load(f, Loader=yaml.FullLoader)
        res = []
        for i in content[func_name].values():
            res.append(i)
    return res